package com.bjsxt.entity;

import com.bjsxt.annotation.Pojo;

import java.util.List;

@Pojo
public class Role extends BaseEntity{
    private static final long serialVersionUID = 7244140456114926378L;
    private Integer roleid;

    private String rolename;

    private String stat;

    private List<Power> powers;

    public List<Power> getPowers() {
        return powers;
    }

    public void setPowers(List<Power> powers) {
        this.powers = powers;
    }

    public Integer getRoleid() {
        return roleid;
    }

    public void setRoleid(Integer roleid) {
        this.roleid = roleid;
    }

    public String getRolename() {
        return rolename;
    }

    public void setRolename(String rolename) {
        this.rolename = rolename == null ? null : rolename.trim();
    }

    public String getStat() {
        return stat;
    }

    public void setStat(String stat) {
        this.stat = stat == null ? null : stat.trim();
    }
}